package com.zhizhi.domain;

import lombok.Getter;

@Getter
public class RequestTokenBO {
    //账户ID
    private Integer accountId;

    //账户token
    private String token;

    //账户对象
    AccountBO accountBO;

    public RequestTokenBO(String token, AccountBO accountBO) {
        this.accountId = accountBO.getId();
        this.token = token;
        this.accountBO = accountBO;
    }

    @Override
    public String toString() {
        return "RequestTokenBO{" +
                "accountId='" + accountId + '\'' +
                ", token='" + token + '\'' +
                ", accountBo=" + accountBO +
                '}';
    }
}
